package com.towncoder.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆表(Vehicle)实体类
 *
 * @author makejava
 * @since 2024-08-22 15:08:40
 */
public class Vehicle implements Serializable {
    private static final long serialVersionUID = -58387259132894959L;
/**
     * 主键
     */
    private Long id;
/**
     * 车主用户id
     */
    private Long userId;
/**
     * 品牌
     */
    private String brand;
/**
     * 车型
     */
    private String model;
/**
     * 价格
     */
    private Double price;
/**
     * 生产年份
     */
    private Date year;
/**
     * 行驶里程
     */
    private Integer mileage;
/**
     * 颜色
     */
    private String color;
/**
     * 描述
     */
    private String description;
/**
     * 状态 1:出售中, 2:已售出
     */
    private Integer status;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 车辆图片
     */
    private String vehicleImage;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getYear() {
        return year;
    }

    public void setYear(Date year) {
        this.year = year;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getVehicleImage() {
        return vehicleImage;
    }

    public void setVehicleImage(String vehicleImage) {
        this.vehicleImage = vehicleImage;
    }

}

